package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 具体交接事项表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_specific_handover_items")
@ApiModel(value = "具体交接事项表")
public class SpecificHandoverItems extends Model<SpecificHandoverItems> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "离职交接表id")
    private String handoverId;

    @ApiModelProperty(value = "部门类型（1-直属部门 2-行政 3-财务）")
    private Integer departmentType;

    @ApiModelProperty(value = "事项类型（1-办理工作交接 2-公司信息资料 3-钥匙缴回 4-办公物品缴回 5-预支款项缴回 6-其他）")
    private Integer itemType;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "是否删除（1-已删除 2-未删除）")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}